package dbModel

import "hotel_Manager_Api/util"

type FoodTypeRel struct {
	FoodId     int64 `xorm:"foodId pk"`
	FoodTypeId int32 `xorm:"foodTypeId pk"`
}

func (self FoodTypeRel) GetHashCode() int {
	panic("not impl")
}

func (self FoodTypeRel) Equal(other util.Equalable) bool {
	rel := other.(FoodTypeRel)
	return self.FoodTypeId == rel.FoodTypeId && self.FoodId == rel.FoodId
}
